﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ajax_san_ntd_ds_cho_pv.aspx.cs" Inherits="web_pages_ajax_san_ntd_ds_cho_pv" %>
<%@ OutputCache Duration="1" VaryByParam="None" %>
<div style="height: 400px; overflow: scroll; overflow-x: hidden;" id="main_load">
    <table width="100%">
        <%
            for (int i = 0; i < resdtt.Rows.Count; i++)
            {
         %>
        <tr >
            <td style="width: 70px;border-bottom:#ccc 1px dotted;">
              <%
                if(sanComm.KetquaSan(ma_san,resdtt.Rows[i]["ma_vlt"].ToString(),resdtt.Rows[i]["ma_ntv"].ToString()))
               { 
                    %>
             
              <a href="SanKetQuaPV_edit.aspx?sid=<%=ma_san %>&mavlt=<%=resdtt.Rows[i]["ma_vlt"].ToString() %>&mantv=<%=resdtt.Rows[i]["ma_ntv"].ToString() %>"><i> [Sửa Kết Quả] </i></a>
              <% 
              }else{
             %>  
             <a href="SanKetQuaPhongVan.aspx?sid=<%=ma_san %>&mavlt=<%=resdtt.Rows[i]["ma_vlt"].ToString() %>&mantv=<%=resdtt.Rows[i]["ma_ntv"].ToString() %>"><i> [Thêm Kết Quả] </i></a>
             <%
             }
              %>
                 <%= resdtt.Rows[i]["ma_ho_so"].ToString() %>
            </td>
            <td style="width: 200px;border-bottom:#ccc 1px dotted;">
            <%= NguoiTimViecCommon.getTenChucDanh(resdtt.Rows[i]["chuc_danh_mong_muon"].ToString()) %>
            </td>
            <td style="border-bottom:#ccc 1px dotted;" >
            <a href="javascript:void(0);" onclick="viewUngVien('<%= resdtt.Rows[i]["ma_ho_so"].ToString() %>');" ><img src="../images/icons/067-search_next.png"  style="border:0px;vertical-align:middle" />
             <%= resdtt.Rows[i]["tieu_de"].ToString() %>
             </a>
            </td>
            <td style="width: 180px;border-bottom:#ccc 1px dotted;">
            <%= resdtt.Rows[i]["ho_ten"].ToString() %>
            </td>
        </tr>
        <%
            }
            if (resdtt.Rows.Count==0)
            {
                Response.Write("Không Có Kết Quả");
            }
         %>
    </table>
</div>
